package com.b.service.impl;

import org.springframework.stereotype.Service;
import jakarta.annotation.Resource;
import com.b.domain.Follow;
import com.b.dao.FollowMapper;
import com.b.service.FollowService;
import java.util.List;
@Service
public class FollowServiceImpl implements FollowService{

    @Resource
    private FollowMapper followMapper;

    @Override
    public int insert(Follow record) {
        return followMapper.insert(record);
    }

    @Override
    public int insertSelective(Follow record) {
        return followMapper.insertSelective(record);
    }

    @Override
    public List<Follow> getAll() {
        return followMapper.getAll();
    }
}
